import request from "../utils/request"

export function login(username, password) {
  return request({
    url: "/api/dologin",
    method: "post",
    data: { username, password }
  })
}